import { http } from "@tauri-apps/api";
async function getTemplates() {
  return await http.fetch(
    "https://xxx.json",
    {
      method: "get",
      responseType: 2,
    }
  );
}

export { getTemplates };
